package Company

import (
	"ali-hr/Services/Company"
	Response "ali-hr/Util"
	"github.com/gin-gonic/gin"
)

/**
 * Created by Goland
 * User: wkk alisleepy@hotmail.com
 * Time: 2022/4/5 - 16:08
 * Desc: <法人主体信息>
 */

// All 所有法人主体，已生效的，给前端组件使用
func All(c *gin.Context) {
	companies := Company.GetAllCompanies()
	Response.OkWithData(companies, c)
}
